package notice.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @description: 扣款通知: orderNo+etcTypeId(区分客货车)
 *                 +orderType(区分客车，货车订单类型：原账单，拆分，合并) 唯一确认一个账单
 * @author: zk
 * @since: 2022-08-16 16:47
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DeductionNoticeDto {
    // 账单类型 ：客车账单-car，货车原订单-truck，货车拆分账单-truck_split，货车合并账单-truck_merge
    public static final String ORDER_TYPE_CAR = "car", ORDER_TYPE_TRUCK = "truck",
            ORDER_TYPE_TRUCK_SPLIT = "truck_split", ORDER_TYPE_TRUCK_MERGE = "truck_merge";
    /**
     * 系统扣款订单号
     */
    private String orderNo;

    /**
     * etc类型
     */
    private Long etcTypeId;

    /**
     * 账单类型 ：客车账单-car，货车原订单-truck，货车拆分账单-truck_split，货车合并账单-truck_merge
     */
    private String orderType;

    /**
     * 当时操作的支付渠道，微信、钱包 ...
     *  @tosee CarDeductionRecord.payChannel,TruckDeductionRecord.payChannel
     */
    private Integer currPayChannel;
}
